#ifndef __SOCKETGLOBALS__
#define __SOCKETGLOBALS__

#include <iostream>
#include <signal.h>

enum SM_Global_Switch {SC_GLOBAL_SWITCH, SM_GLOBAL_SWITCH};

extern void         *global_sc;
extern void         *global_sm;
extern int           global_sm_or_sc;
extern int           global_sm_sys_v_signals;
extern int           global_sigpipe_raised;

extern void          handleSIGPIPE(int);

#endif
